package org.luxor.commons.playwright.component;

import java.util.Date;

/**
 * 屏幕快照
 *
 * @author Mr.yan  @date 2022/10/22
 */
public class Screenshot {

    /**
     * Base64页面截图
     */
    private String base64Image;

    /**
     * 页面内容
     */
    private String htmlText;

    /**
     * 创建时间
     */
    private Date createTime;

    public Screenshot() {
        this.createTime = new Date();
    }

    public String getBase64Image() {
        return base64Image;
    }

    public Screenshot setBase64Image(String base64Image) {
        this.base64Image = base64Image;
        return this;
    }

    public String getHtmlText() {
        return htmlText;
    }

    public Screenshot setHtmlText(String htmlText) {
        this.htmlText = htmlText;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Screenshot setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }
}
